* {
  margin: 0;
  padding: 0;
}
body {
  height: 100vh;
  background-color: #d0d0d0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container {
  width: 400px;
  height: 50px;
}
.box {
  font-size: 1em;
  position: relative;
  height: 10em;
  width: 40rem;
  perspective-origin: 50% 50%;
}
.face {
  font-size: 2em;
  position: absolute;
  width: 100%;
  height: 2em;
  background-color: rgba(254, 254, 254, 0.3);
}

.top {
  transform: rotateX(0deg) rotateY(0) translateX(0em) translateY(4em)
    translateZ(2em);
}
.side-0 {
  transform: rotateX(90deg) rotateY(0) translateX(0) translateY(1em)
    translateZ(-1em);
}
.floor {
  box-shadow: 0 0.1em 0.6em rgba(0, 0, 0, 0.3),
    0.6em -0.5em 3em rgba(0, 0, 0, 0.3), 1em -1em 8em #fefefe;
}
.side-a {
  background-color: rgba(236, 0, 140, 0.6);
  transform: rotateX(90deg) rotateY(-90deg) translateX(2em) translateY(1em)
    translateZ(1em);
}
.side-b {
  transform: rotateX(90deg) rotateY(-90deg) translateX(4em) translateY(1em)
    translateZ(-1em);
}
.side-1 {
  transform: rotateX(90deg) rotateY(0) translateX(0) translateY(1em)
    translateZ(3em);
}
